<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pt-br">
	<head>
		<title>Home</title>
		<meta charset="utf-8">

		<link rel="stylesheet" href="<?php echo cssSkin( 'reset.css' ); ?>" type="text/css" media="all">
		<link rel="stylesheet" href="<?php echo cssSkin( 'layout.css' ); ?>" type="text/css" media="all">
		<link rel="stylesheet" href="<?php echo cssSkin( 'style.css' ); ?>" type="text/css" media="all">

		<script type="text/javascript" src="<?php echo jsSkin( 'jquery-1.4.2.js' ); ?>" ></script>
		<script type="text/javascript" src="<?php echo jsSkin( 'cufon-yui.js' ); ?>"></script>
		<script type="text/javascript" src="<?php echo jsSkin( 'cufon-replace.js' ); ?>"></script>
		<script type="text/javascript" src="<?php echo jsSkin( 'Myriad_Pro_400.font.js' ); ?>"></script>
		<script type="text/javascript" src="<?php echo jsSkin( 'Myriad_Pro_600.font.js' ); ?>"></script>
		<script type="text/javascript" src="<?php echo jsSkin( 'Myriad_Pro_700.font.js' ); ?>"></script>

		<!--[if lt IE 9]>
			<script type="text/javascript" src="http://info.template-help.com/files/ie6_warning/ie6_script_other.js"></script>
			<script type="text/javascript" src="<?php echo jsSkin( 'html5.js' ); ?>"></script>
		<![endif]-->
		
		<?php if ( $sessao == 'manager' ) : ?>
		<link rel="stylesheet" href="<?php echo cssSkin( 'manager.css' ); ?>" type="text/css" media="all">
		<script type="text/javascript" src="<?php echo jsSkin( 'manager.js' ); ?>"></script>
		<script type="text/javascript" src="<?php echo jsSkin( 'jquery.validate.js' ); ?>"></script>
		<?php endif; ?>
		
	</head>
	<body id="<?php echo $idBody; ?>">
		<div class="main">
		<!-- header -->
			<header>
				<div class="wrapper">
					<?php if ( $idBody == 'home' ) : ?>
					<h1 id="logo">Finanz Kontrolle</h1>
					<?php else: ?>
					<a href="<?php echo site_url(); ?>" id="logo">Finanz Kontrolle</a>
					<?php endif; ?>
					<form id="search" action="" method="post">
						<div class="bg">
							<input type="submit" class="submit" value="">
							<input type="text" class="input">
						</div>
					</form>
				</div>
				<nav>
					<ul id="menu">
						<li class="alpha"<?php echo ( $sessao == 'home' ) ? ' id="menu_active"' : null; ?>><a href="<?php echo site_url(); ?>"><span><span>Home</span></span></a></li>
						<li<?php echo ( $sessao == 'sobre' ) ? ' id="menu_active"' : null; ?>><a href="<?php echo site_url( 'sobre' ); ?>"><span><span>Sobre</span></span> </a></li>
						<li<?php echo ( $sessao == 'projeto' ) ? ' id="menu_active"' : null; ?>><a href="<?php echo site_url( 'projeto' ); ?>"><span><span>Projeto</span></span></a></li>
						<li<?php echo ( $sessao == 'contato' ) ? ' id="menu_active"' : null; ?>><a href="<?php echo site_url( 'contato' ); ?>"><span><span>Contato</span></span></a></li>
						<li class="omega"<?php echo ( $sessao == 'manager' ) ? ' id="menu_active"' : null; ?>><a href="<?php echo site_url( 'manager' ); ?>"><span><span>Sistema</span></span></a></li>
					</ul>
				</nav>
				
				<?php if ( $sessao != 'manager' ) : ?>
				<div class="wrapper">
					<div class="text">
						<span class="text1">Effective<span>business solutions</span></span>
						<a href="#" class="button">read more</a>
					</div>
				</div>
				<?php endif; ?>
				
			</header>
		<!-- / header -->

		<!-- content -->
			<?php $this->load->view( $pagina ); ?>
		<!-- / content -->

		<!-- footer -->
			<footer>
				<a href="http://www.templatemonster.com/" target="_blank">Website template</a> designed by TemplateMonster.com<br>
				<a href="http://www.templates.com/product/3d-models/" target="_blank">3D Models</a> provided by Templates.com
			</footer>
		<!-- / footer -->
		</div>
		<script type="text/javascript"> Cufon.now(); </script>
	</body>
</html>
